<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./font/iconfont.css">
    <link rel="stylesheet" href="./css/base.css">
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/index.css">
    <script src="./js/setRem.js"></script>
</head>
<body>
    <div class="layout-box">
        <!-- 头部 -->
        <div class="mm-header" id="miao">
            <div class="mm-logo"></div>
            <div class="mm-app"></div>
        </div>
        <!-- 搜索 -->
        <div class="mm-search">
            <input type="text" name="" id="" placeholder="请输入你想比价的商品">
            <a href="javascript:;" class="button">搜索</a>
        </div>
        <div id="wrapper">
            <div id="scroller">
                 <!-- 导航 -->
                 <div class="mm-nav">

                 </div>
                 <!-- 推荐 -->
                 <div class="mm-recommend">
                     <div class="recommend-left fl">超值折扣推荐</div>
                     <div class="recommend-right fr"><span class="iconfont icon-rightarrow"></span></div>
                 </div>
                 <!-- 商品 -->
                 <div class="mm-product">
                     <div class="item">
                         <div class="pro-left fl">
                             <img src="./images/mnav.jpg" alt="">
                         </div>
                         <div class="pro-right fr">
                             <span>移动端凑单品：海天 鲜味 生抽 1.28L<span class="in">10.9元</span></span>
                             <span></span>
                             <p>京东商城 | 10-25 14:10</p>
                         </div>
                     </div>
                     <div class="item">
                         <div class="pro-left fl">
                             <img src="./images/mnav.jpg" alt="">
                         </div>
                         <div class="pro-right fr">
                             <span>移动端凑单品：海天 鲜味 生抽 1.28L<span class="in">10.9元</span></span>
                             <span></span>
                             <p>京东商城 | 10-25 14:10</p>
                         </div>
                     </div>
                 </div>
                 <!-- 更多 -->
                 <div class="mm-more">
                     <a href="javascript:;">更多优惠信息>></a>
                 </div>
                 <!-- 排行 -->
                 <div class="mm-brand">
                     <div class="brand-left fl">品牌排行</div>
                     <div class="brand-right fr"><span class="iconfont icon-rightarrow"></span></div>
                 </div>
            </div>
        </div>
        <!-- 底部 -->
        <div class="mm-footer">
            <div class="fot-top">
                <a href="javascript:;">登录</a>
                <a href="javascript:;">注册</a>
                <a href="#miao"> <span class="iconfont icon-shangjiantou-"></span> 返回顶部</a>
            </div>
            <div class="foot-bt">
                <p><a href="javascript:;">手机APP下载</a> <a href="javascript:;">慢慢买手机版</a>-- 掌上比价平台</p>
                <p>m.manmanbuy.com</p>
            </div>
        </div>
    </div>

    <!-- 渲染导航菜单 -->
    <script type="text/html" id="temp">
        <ul>
            {{each result v i}}
            <li>
                <a href="{{v.titlehref}}" data-id={{v.indexmenuId}}>
                    {{@v.img}}
                    <p>{{v.name}}</p>
                </a>
            </li>
            {{/each}}
        </ul>
    </script>

    <!-- 渲染商品列表 -->
    <script type="text/html" id="temp-list">
        {{each result v i}}
        <div class="item">
            <div class="pro-left fl">
               {{@v.productImg2}}
            </div>
            <div class="pro-right fr">
                <span class="out">{{v.productInfo1}}</span><span class="in">{{v.productPinkage}}</span>
                <div class="base">
                    <div class="right fr">
                        <span>{{ v.productComCount }}</span>
                    </div>
                    <div class="left fl">
                        <p>{{ v.productFrom }} | <span>{{ v.productTime }}</span></p>
                    </div>
                </div>
            </div>
        </div>
        {{/each}}
    </script>

    <!-- <script src="./lib/artTemplate/template.js"></script> -->
    <script src="./lib/artTemplate/template-web.js"></script>
    <script src="./lib/jquery/jquery.min.js"></script>
    <script src="./lib/iscroll/iscroll.js"></script>
    <script src="./js/common.js"></script>
    <script src="./js/index.js"></script>
</body>
</html>